package com.qiyu.mall.user.interfaces.service;

import com.qiyu.mall.user.interfaces.dto.CommunityAssociateDTO;

import java.util.List;

/**
 * @author idea
 * @data 2020/2/11
 */
public interface CommunityAssociateService {

    /**
     * 增加合伙人的积分
     */
    void incrIntegralById(int caId,Integer integral);

    CommunityAssociateDTO getByAccountId(int accountId);

    CommunityAssociateDTO getById(int caId);

    List<CommunityAssociateDTO> selectAll();
}
